<template>
	<input type="text" v-model="input" v-focus:foo.bar="{ name: '小李', age: 18}">
</template>

<script setup>
	import { ref } from 'vue'
	
	const input = ref('hello') 
	
	const vFocus = (el, binding, vnode, prevNode) => {
		console.log('el', el)
		console.log('binding', binding)
		console.log('vnode', vnode)
		console.log('prevNode', prevNode)
	}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>
